package org.jeecg.modules.sggg.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.jeecg.modules.sggg.entity.SgOperationRecords;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * @Description: 健康币操作记录
 * @Author: jeecg-boot
 * @Date: 2023-03-30
 * @Version: V1.0
 */
public interface ISgOperationRecordsService extends IService<SgOperationRecords> {

    List<SgOperationRecords> prizeList(String mid, String isMake);

    List<SgOperationRecords> getOperationRecordsByMId(String memberId, Integer type);

    List<SgOperationRecords> getOperationRecordsByMId_(String memberId, Integer type);

    IPage<SgOperationRecords> doctorAuthority(IPage<SgOperationRecords> page, String doctorId,List<String> responsibleAgencies, Integer recordType, String orgCode, String name,String closureTime,String createTime, String roleCode);

//    IPage<SgOperationRecords> doctorAuthority(IPage<SgOperationRecords> page, String doctorId, Integer recordType, String orgCode, List<String> responsibleAgencies, String name, String closureTime, String createTime, String roleCode);

    SgOperationRecords numberCount(String doctorId, Integer recordType, String orgCode, String name, String closureTime, String createTime, String roleCode);

    Integer getconsumptionCount(String orgCode);
}
